package com.awesome.db.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Author: JFangZ
 * Email:janezhang1901@163.com
 * Date: 2020/4/20 11:01
 * Description:存储表信息的实体类
 */
public class TableInfoBean {
    private String tableName;
    private List<PrimaryKeyColumnInfoBean> primaryKeyColumnInfoBeanList =new ArrayList<>();
    private List<ColumnInfoBean> columnInfoBeanList =new ArrayList<>();

    public TableInfoBean() {
    }

    @Override
    public String toString() {
        return "TableInfoBean{" +
                "tableName='" + tableName + '\'' +
                ", primaryKeyColumnInfoBeanList=" + primaryKeyColumnInfoBeanList +
                ", columnInfoBeanList=" + columnInfoBeanList +
                '}';
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<PrimaryKeyColumnInfoBean> getPrimaryKeyColumnInfoBeanList() {
        return primaryKeyColumnInfoBeanList;
    }

    public void setPrimaryKeyColumnInfoBeanList(List<PrimaryKeyColumnInfoBean> primaryKeyColumnInfoBeanList) {
        this.primaryKeyColumnInfoBeanList = primaryKeyColumnInfoBeanList;
    }

    public List<ColumnInfoBean> getColumnInfoBeanList() {
        return columnInfoBeanList;
    }

    public void setColumnInfoBeanList(List<ColumnInfoBean> columnInfoBeanList) {
        this.columnInfoBeanList = columnInfoBeanList;
    }
}
